package com.enjoyiot.module.bms.controller.admin.asset.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "资产管理 - 资产 Response VO")
@Data
public class AssetVO {

    @Schema(description = "资产编号", required = true, example = "1024")
    private Long id;

    @Schema(description = "资产名称", example = "PCR荧光定量仪")
    private String assetName;

    @Schema(description = "所属科室", example = "医学研究中心")
    private String department;

    @Schema(description = "品牌", example = "蔡司")
    private String assetBrand;

    @Schema(description = "型号", example = "IVD-9")
    private String assetModel;

    /**
     * 价格
     */
    @Schema(description = "价格", example = "99999.0")
    private Float price;

    @Schema(description = "购买时间")
    private LocalDateTime purchaseTime;

    @Schema(description = "是否进口（1-进口；0-非进口）")
    private Integer isImport;

    @Schema(description = "供货商")
    private String supporter;

    @Schema(description = "联系人")
    private String contact;

    @Schema(description = "联系方式")
    private String tel;

    @Schema(description = "安装位置")
    private String location;

    @Schema(description = "购买方（0-医院；1-医学院）")
    private Integer purchaser;


    @Schema(description = "资产类型（0--般资产；1-设备）")
    private Integer type;

    @Schema(description = "资产状态（0-报废；1-正常）")
    private Integer status;

    @Schema(description = "标签码")
    private String assetSn;

    @Schema(description = "产品分类ID")
    private Long categoryId;
}
